/* $Id: SearchCriteriaCompanyVO.java 
 * Copyright (C) 2011, TRAKHEES
 *  
 * Revision History
 *
 * Date  				Author 		    	Remarks
 * ---------------------------------------------------------------------------------
 * March 6, 2012 	   Ismail		 		Created
 *
 */
package ae.pcfc.etks.online.common.vo;

import java.io.Serializable;
import java.util.List;

import org.apache.commons.lang.StringUtils;

public class SearchCriteriaCompanyVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String licenseNumber;
	private Integer clientId;
	private String companyNameEng;
	private String companyNameArb;
	private String licenseIssuingAuth;
	private String officeNumber;
	private String poNumber;
	private String category;
	//private String clientRole;
	private String email;
	private String trakheesID;
	private List<String> clientRoleIdList;
	
	public List<String> getClientRoleIdList() {
		return clientRoleIdList;
	}
	public void setClientRoleIdList(List<String> clientRoleIdList) {
		this.clientRoleIdList = clientRoleIdList;
	}
	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getTrakheesID() {
		return trakheesID;
	}

	public void setTrakheesID(String trakheesID) {
		this.trakheesID = trakheesID;
	}

	public String getLicenseNumber() {
		return licenseNumber;
	}

	public void setLicenseNumber(String licenseNumber) {
		this.licenseNumber = licenseNumber;
	}

	public Integer getClientId() {
		return clientId;
	}

	public void setClientId(Integer clientId) {
		this.clientId = clientId;
	}

	public String getCompanyNameEng() {
		return companyNameEng;
	}

	public void setCompanyNameEng(String companyNameEng) {
		this.companyNameEng = companyNameEng;
	}

	public String getCompanyNameArb() {
		return companyNameArb;
	}

	public void setCompanyNameArb(String companyNameArb) {
		this.companyNameArb = companyNameArb;
	}

	public String getLicenseIssuingAuth() {
		return licenseIssuingAuth;
	}

	public void setLicenseIssuingAuth(String licenseIssuingAuth) {
		this.licenseIssuingAuth = licenseIssuingAuth;
	}

	public String getOfficeNumber() {
		return officeNumber;
	}

	public void setOfficeNumber(String officeNumber) {
		this.officeNumber = officeNumber;
	}

	public String getPoNumber() {
		return poNumber;
	}

	public void setPoNumber(String poNumber) {
		this.poNumber = poNumber;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}
	public String getClientRoleIdListAsString() {
		// TODO Auto-generated method stub
		if(clientRoleIdList != null){
			return StringUtils.join(clientRoleIdList, "','");
		}
		return null;
	}

}
